<template>
	<view class="conntent">
		<!-- contactPhone:"",
		contactAddress:"", -->
		<view class="dzorlx">
			<view class="content-dz">
				<text class="left">地址：</text><text class="right">{{contactAddress}}</text>
			</view>
			<view class="content-lx">
				<text class="left">电话：</text><text class="right">{{contactPhone}}</text>
				
			</view>
		</view>
		
		
	</view>
</template>
<script>
import { BASE_URL_IMAHE } from "../../../../utils/https";
	import { getContactUs } from "@/api/contact";
	export default {
	  name: "contact",
	  data() {
		  return {
			form:{},
			contactPhone:"",
			contactAddress:"",
		
			
			
		  }
	  },
	  onLoad(options) {
		  // console.log(JSON.parse(options.item))
		 this.getinfon()
			
		
	  },
	  onReady() {
		  
	  		
	  	},
			
		methods:{
		  async	getinfon(){
				var res=await getContactUs()
				console.log(res)
				
				if(res.result==0){
					this.contactPhone=res.contactPhone
					this.contactAddress=res.contactAddress
				}
				
			},
			
		}
	}
	  
</script>

<style scoped lang="scss">
	page {
	  min-height: 100vh;
	  background-color: #f2f2f2;
	  overflow: auto;
	}
	.dzorlx{
		width: rpx(350);
		margin: 0 auto ;
		margin-top: rpx(20);
		background-color: #ffffff;
		box-sizing: border-box;
		padding: rpx(13);
		font-size: rpx(18);
		line-height: rpx(30);
		border-radius: rpx(10);
	}
	.content-list{
		width: 100%;
		height: 100vh;
		line-height: 30rpx;
		box-sizing: border-box;
		padding: 20rpx 10rpx;
	}
	.conntent{
		height: 100vh;
	}
	.swiper-box::v-deep {
	  height: 100%;
	  .swiper-item {
	    height: 100vh;
	    padding-bottom: 16rpx;
		}
	}
	.content-dz,.content-lx{
		display: flex;
		justify-content: left;
		padding-bottom: rpx(10);
	}
	.left{
		width: 140rpx;
	}
	.right{
		width: 100%;
	}

</style>